package com.malred;

import com.malred.config;
import com.malred.mappers.orderMapper;
import com.malred.mappers.personMapper;
import com.malred.services.personService;
import com.mybatisPlusSpring.myFactoryBean;
import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author malguy-wang sir
 * @create ---
 */
public class test {
    public static void main(String[] args) throws Exception{
        ApplicationContext context = new AnnotationConfigApplicationContext(config.class);
        personService personService = (com.malred.services.personService) context.getBean("personService");
        personService.test();
    }
}
